package com.example.eureka_client.mapper;

import com.example.eureka_client.entity.Question;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 问题表 Mapper 接口
 * </p>
 *
 * @author plj
 * @since 2022-03-24
 */
public interface QuestionMapper extends BaseMapper<Question> {
    Question getById(String id);
    boolean delById(String id);
    List<Question> getAllQuestionsByUserId(String userId);
    List<Question> getAllQuestionsByQuestionIds(List<String> questionIds);
}
